import request from '@/utils/request';

/**
 * 获取所有症状分类及子项
 * @returns {Promise}
 */
export function getSymptoms() {
  return request({
    url: '/v6/symptom/getSymptoms',
    method: 'post'
  });
}

/**
 * 提交症状查询
 * @param {Object} data 症状数据
 * @returns {Promise}
 */
export function submitSymptomQuery(data) {
  return request({
    url: '/v6/Symptom/index',
    method: 'post',
    data
  });
}
